#ifndef _GAMESTATE_H_
#define _GAMESTATE_H_

#include <d3dx9.h>
#include "Input.h"

class CGameEngine;

enum GameStateId
{
	GAME_MENU, GAME_PLAY
};

class CGameState
{
protected:
	GameStateId m_stateId;
	CGameEngine* m_gameEngine;
public:

	CGameState(GameStateId gameId, CGameEngine* gameEngine);
	virtual void Init();
	virtual void Update(float gameTime, CInput* input);
	virtual void Draw(LPD3DXSPRITE spriteHandler);
	virtual void Release();
};

#endif